<template>
  <!-- 实现tabbar布局 -->
  <!-- 1. 注册2个组件 -->
  <div>

    <router-view />
    <van-tabbar route>
      <van-tabbar-item to="/article" icon="fire-o">面经</van-tabbar-item>
      <van-tabbar-item to="/collect" icon="star-o">收藏</van-tabbar-item>
      <van-tabbar-item to="/like" icon="friends-o">点赞</van-tabbar-item>
      <van-tabbar-item to="/user" icon="setting-o">我的</van-tabbar-item>
    </van-tabbar>
  </div>
</template>

<script>
export default {
  name: 'LayoutPage'

}
</script>

<style lang="scss" scoped></style>
